<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>口袋买房</title>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/utils.js"></script>
	</head>
	<body>
	</body>
	<script>
		var logincode = getParameter('code');
		var signphone = getCookie('ph_newphone');
		if(logincode && logincode.length>0){
			//向服务器请求
			var urlstr = publicUrl + '/v1/wx-user/get-pc-sign';
			jQuery.get(urlstr, {code:logincode,phone:signphone}, function(res) {
				if(res.code == 'success'){
					loadUserInfo(SingBack,res.data.uid);
				}
			});
		}
		
		function SingBack(){
//			window.location.href = '../pages/user.html';
		}
	</script>
</html>
